import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ReferralCode, Subscribe, Transaction, User } from '../../model';
import { TelegramBotModule } from '../telegram-bot/telegram-bot.module';
import { TraderController } from './trader.controller';
import { TraderService } from './trader.service';

@Module({
    imports: [TypeOrmModule.forFeature([Subscribe, User, Transaction, ReferralCode]), TelegramBotModule],
    controllers: [TraderController],
    providers: [TraderService],
})
export class TraderModule {}
